<!-- 旅游编码列表 -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<link href="/css/jquery-select/jquery.searchableSelect.css" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<head th:include="include :: header">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">

                    <input type="hidden" id="teamId" th:value="${teamId}">
                    <!--                    <input type="hidden" name="centreId" th:value="${centreId}" th:if="${flag} == '1'">-->
                    <input type="hidden" name="centreId" id="centreId" th:value="${centreId}" th:if="${flag} == '1'">
                    <!--                    <div class="columns pull-left col-md-2 nopadding" th:if="${flag} == '0'">-->
                    <!--                        <select data-placeholder="商户" class="form-control chosen-select"-->
                    <!--                                name="centreId" id="centreId" tabindex="2"-->
                    <!--                                onchange="renderCategoryThird(this)">-->
                    <!--                            <option value="">选择商户</option>-->
                    <!--                            <option th:each="item: ${centreList}" th:text="${item.name}"-->
                    <!--                                    th:value="${item.centreId}"></option>-->
                    <!--                        </select>-->
                    <!--                    </div>-->

                    <div class="columns pull-left col-md-2 nopadding" th:if="${teamId == null}">
                        <select  id="liansuoid"
                                class="form-control chosen-select" tabindex="2">
                            <option value="" selected>选择门店</option>
                            <option th:each="item: ${teams}" th:text="${item.tXiaoqu+ +item.id}"
                                    th:value="${item.id}"></option>
                        </select>
                    </div>


                    <div class="columns pull-right col-md-1 nopadding">
                        <select data-placeholder="是否发放" class="form-control chosen-select" id="status" tabindex="2">
                            <option value="" selected>选择状态</option>
                            <option value="0">未发放</option>
                            <option value="1">已发放</option>
                        </select>
                    </div>

                    <div class="columns pull-left col-md-2 nopadding">
                        <input id="excelFile" name="excelFile" type="file"
                               class="form-control"/>
                    </div>
                    <div class="columns pull-left col-md-1 nopadding">
                        <button class="btn btn-success" onclick="inport()">导入</button>
                    </div>
                    <div class="columns pull-right col-md-1" style="padding-left: 0px;">
                        <a href="/files/旅游编码导入模板.xlsx"><u>导入模板</u></a>
                    </div>

                    <div class="columns pull-right" role="group">
                        <button class="btn btn-success" onclick="reLoad()">
                            <i class="fa fa-search" aria-hidden="true"></i>查询
                        </button>
                    </div>

                </div>
                <table id="tourNumberTable" data-mobile-responsive="true"></table>
            </div>
        </div>
    </div>
</div>
<!--<div>-->
<!--    <script type="text/javascript">-->
<!--        var s_disable_record_h = 'hidden';-->
<!--    </script>-->
<!--</div>-->
<!--<div shiro:hasPermission="promotion:ticket:disableRecord">-->
<!--    <script type="text/javascript">-->
<!--        s_disable_record_h = '';-->
<!--    </script>-->
<!--</div>-->
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/appjs/localLife/tourNumber.js"></script>
</body>
</html>